import request from '@/utils/request'// 查询公告列表

export function getStaffList(data) {
  return request({
    url: '/staff/post/list',
    method: 'post',
    data: data
  })
}
  // 添加
  export function addStaff(data) {
    return request({
      url: '/staff/post/add',
      method: 'post',
      data: data
    })
  }
  // 修改参数配置
export function updateStaff(data) {
    return request({
      url: '/staff/post/edit',
      method: 'post',
      data: data
    })
  }
// 详情
export function StaffInfo(data) {
    return request({
      url: '/staff/post/info',
      method: 'post',
      data: data
    })
}

  // 删除
export function delStaff(data) {
    return request({
      url: '/staff/post/remove',
      method: 'post',
      data: data
    })
  }

